package com.logic.landseaserver.models.payment.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 * 项目名称：system-server</br>
 * 类名称：ShijiPaymentConfig</br>
 * 类描述：银石支付系统配置</br>
 * 创建人：tony</br>
 * 创建时间：2017年7月21日 下午3:33:36</br>
 * 
 * @version 1.0
 *
 */
@Component
@ConfigurationProperties(prefix = "logic.shiji")
public class ShijiPaymentConfig
{
    /** 银石支付线上网页API调用URL **/
    private String webApiUrl;
    
    /** 银石支付线上移动API调用URL **/
    private String mobileApiUrl;
    
    /** 解密加密的key **/
    private String key;
    
    /** 获取项目信息解密加密的key **/
    private String getProjectInfokey;
    
    
    /** 合作方ID **/
    private String PartnerID;
    
    /** 解密加密证书文件路径  **/
    private String certificate;

    /** 证书的密码  **/
    private String certificatePassword;
    
    /** 公共回调地址  **/
    private String callbackUrl;
    
    /** 智能POS回调地址  **/
    private String posCallbackUrl;

    public String getGetProjectInfokey() {
		return getProjectInfokey;
	}

	public void setGetProjectInfokey(String getProjectInfokey) {
		this.getProjectInfokey = getProjectInfokey;
	}

	public String getKey()
    {
        return key;
    }

    public void setKey(String key)
    {
        this.key = key;
    }

    public String getPartnerID()
    {
        return PartnerID;
    }

    public void setPartnerID(String partnerID)
    {
        PartnerID = partnerID;
    }

    public String getCertificate()
    {
        return certificate;
    }

    public void setCertificate(String certificate)
    {
        this.certificate = certificate;
    }

    public String getCertificatePassword()
    {
        return certificatePassword;
    }

    public void setCertificatePassword(String certificatePassword)
    {
        this.certificatePassword = certificatePassword;
    }

    public String getWebApiUrl()
    {
        return webApiUrl;
    }

    public void setWebApiUrl(String webApiUrl)
    {
        this.webApiUrl = webApiUrl;
    }

    public String getMobileApiUrl()
    {
        return mobileApiUrl;
    }

    public void setMobileApiUrl(String mobileApiUrl)
    {
        this.mobileApiUrl = mobileApiUrl;
    }

    public String getCallbackUrl()
    {
        return callbackUrl;
    }

    public void setCallbackUrl(String callbackUrl)
    {
        this.callbackUrl = callbackUrl;
    }

	public String getPosCallbackUrl() {
		return posCallbackUrl;
	}

	public void setPosCallbackUrl(String posCallbackUrl) {
		this.posCallbackUrl = posCallbackUrl;
	}
}
